package com.service.Hua.Impl;

import com.mapper.Hua.HProductionlinesMapper;
import com.mapper.Hua.MaterialWarehouseOutMapper;
import com.pojo.Hua.HuaProductionlines;
import com.pojo.Hua.HuaProductionlinesToolView;
import com.pojo.Hua.ProductionlinesCategoryView;
import com.service.Hua.IProductionlinesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class ProductionlinesServiceImpl implements IProductionlinesService {
    @Autowired
    HProductionlinesMapper hProductionlinesMapper;

    @Override
    public List<HuaProductionlines> getProductionlinesName() {
        return hProductionlinesMapper.getProductionlinesName();
    }

    @Override
    public List<HuaProductionlinesToolView> getProductionlines(Long productionLineId) {
        return hProductionlinesMapper.getProductionlines(productionLineId);
    }
}
